﻿using System;
using Autodesk.Revit.DB;

namespace YArchitech.Revit.RevitExtension
{
	public static class RevitPrintParametersExtension
	{
		public static bool GetMaskCoincidentLines(this PrintParameters printParam)
		{
			return printParam != null && printParam.MaskCoincidentLines;
		}

		public static void SetMaskCoincidentLines(this PrintParameters printParam, bool bVal)
		{
			if (printParam == null)
			{
				return;
			}
			printParam.MaskCoincidentLines = bVal;
		}
	}
}
